package com.lanxin.bx.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2025-07-18
 */
@TableName("bx_informal")
public class BxInformal implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;
    @TableField("docNo")
    private String docNo;

    @TableField("doctype")
    private String doctype;

    @TableField("flowid")
    private Integer flowid;

    @TableField("payee")
    private Integer payee;

    @TableField("booker")
    private Integer booker;

    @TableField("creator")
    private Integer creator;

    @TableField("proposer")
    private Integer proposer;

    @TableField("deptid")
    private Integer deptid;

    @TableField("reason")
    private String reason;

    @TableField("bookDate")
    private LocalDateTime bookDate;

    @TableField("applyAmount")
    private BigDecimal applyAmount;
    @TableField("bookAmount")
    private BigDecimal bookAmount;
    @TableField("createDate")
    private LocalDateTime createDate;
    @TableField("submitDate")
    private LocalDateTime submitDate;

    @TableField("status")
    private String status;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }
    public String getDocNo() {
        return docNo;
    }

    public void setDocNo(String docNo) {
        this.docNo = docNo;
    }
    public String getDoctype() {
        return doctype;
    }

    public void setDoctype(String doctype) {
        this.doctype = doctype;
    }
    public Integer getFlowid() {
        return flowid;
    }

    public void setFlowid(Integer flowid) {
        this.flowid = flowid;
    }
    public Integer getPayee() {
        return payee;
    }

    public void setPayee(Integer payee) {
        this.payee = payee;
    }
    public Integer getBooker() {
        return booker;
    }

    public void setBooker(Integer booker) {
        this.booker = booker;
    }
    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }
    public Integer getProposer() {
        return proposer;
    }

    public void setProposer(Integer proposer) {
        this.proposer = proposer;
    }
    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }
    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
    public LocalDateTime getBookDate() {
        return bookDate;
    }

    public void setBookDate(LocalDateTime bookDate) {
        this.bookDate = bookDate;
    }
    public BigDecimal getApplyAmount() {
        return applyAmount;
    }

    public void setApplyAmount(BigDecimal applyAmount) {
        this.applyAmount = applyAmount;
    }
    public BigDecimal getBookAmount() {
        return bookAmount;
    }

    public void setBookAmount(BigDecimal bookAmount) {
        this.bookAmount = bookAmount;
    }
    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
    public LocalDateTime getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(LocalDateTime submitDate) {
        this.submitDate = submitDate;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "BxInformal{" +
            "oid=" + oid +
            ", docNo=" + docNo +
            ", doctype=" + doctype +
            ", flowid=" + flowid +
            ", payee=" + payee +
            ", booker=" + booker +
            ", creator=" + creator +
            ", proposer=" + proposer +
            ", deptid=" + deptid +
            ", reason=" + reason +
            ", bookDate=" + bookDate +
            ", applyAmount=" + applyAmount +
            ", bookAmount=" + bookAmount +
            ", createDate=" + createDate +
            ", submitDate=" + submitDate +
            ", status=" + status +
        "}";
    }
}
